namespace Ds.DataBase.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class ZhiweiPid : DbMigration
    {
        public override void Up()
        {
            RenameColumn(table: "dbo.ZhiWeis", name: "ZhiWei_zwid", newName: "PZhiWei_zwid");
            RenameIndex(table: "dbo.ZhiWeis", name: "IX_ZhiWei_zwid", newName: "IX_PZhiWei_zwid");
        }
        
        public override void Down()
        {
            RenameIndex(table: "dbo.ZhiWeis", name: "IX_PZhiWei_zwid", newName: "IX_ZhiWei_zwid");
            RenameColumn(table: "dbo.ZhiWeis", name: "PZhiWei_zwid", newName: "ZhiWei_zwid");
        }
    }
}
